package com.chalk.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author xiaoqiang
 * @Description 微信用户信息
 * @date 2019/4/9 11:14
 */
@Data
@ApiModel(value = "WxUserDto", description = "微信用户信息")
public class WxUserDto {

    /**
     * openId
     */
    @ApiModelProperty(name = "openId", value = "openId")
    @NotNull
    private String openId;

    /**
     * 昵称
     */
    @ApiModelProperty(name = "nickname", value = "昵称")
    private String nickname;

    /**
     * 头像地址
     */
    @ApiModelProperty(name = "picUrl", value = "头像地址")
    private String picUrl;
}
